package com.tao.feignClient;

import com.tao.pojo.vo.SetmealByIdVo;
import com.tao.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("setmeal-service")
public interface SetmealClient {

    @GetMapping("webPage/setmeal/getById/{id}")
    Result<SetmealByIdVo> getById(@PathVariable Integer id);
}
